#pragma once
#include "WOH_ParticleSystem.h"
#include "WOH_Player.h"
#include "Log/LOG.h"

class CPlayerName:public CParticleSystem
{
public:
	CPlayerName(void);
	~CPlayerName(void);
	CPlayerName(IDirect3DDevice9 *Device,CPlayer *player,int numParticles,LPCWSTR filename);
	CPlayerName(IDirect3DDevice9 *Device,D3DXVECTOR3 pos,int numParticles, LPCWSTR filename);
	bool Init(IDirect3DDevice9 *Device);
	void ResetParticle(Attribute *attribute);
	void Update();
	void ChangeRenderState(IDirect3DDevice9 *Device);
private:
	CPlayer* m_player;
	D3DXVECTOR3 m_Postion;
};
